package org.chen.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.chen.domain.entity.VideoGenerationRecord;
import org.chen.domain.entity.VideoTemplate;
import org.chen.domain.request.VideoGenerationRequest;
import org.chen.domain.vo.TemplateQuery;
import org.chen.domain.vo.VideoRecordQuery;

public interface TemplateService extends IService<VideoTemplate> {
    VideoGenerationRecord checkVideoStatus(String recordId);

    Page<VideoGenerationRecord> getGenerationHistory(VideoRecordQuery query);

    void deleteGenerationRecord(String recordId);

    String syncTemplates();

    Page<VideoTemplate> listTemplates(TemplateQuery query);

    VideoTemplate getTemplateDetail(String id);

    VideoGenerationRecord generateVideo(VideoGenerationRequest request);
}
